package com.txzt.gaea.business.project.domain.model;

import com.txzt.gaea.common.base.entity.BaseEntity;
import lombok.Data;
import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Table;
import org.beetl.sql.core.annotatoin.UpdateIgnore;

import java.math.BigDecimal;
import java.util.List;

@Data
@Table(name = "tb_project_contract")
public class ProjectContract extends BaseEntity {

    private Long id ;
    /*合同金额(万)*/
    private BigDecimal contractAmount ;
    /*合同编号*/
    private String contractNo ;

    private String contractName;
    /*合同电子版*/
    private String fileContent ;
    /*甲方*/
    private String firstParty ;
    /*乙方*/
    private String secondParty ;
    /*签订日期*/
    private String signDate ;

    private Long projectId;

    @InsertIgnore
    @UpdateIgnore
    private List<ProjectContractPayment> paymentList;
}
